﻿// Decompiled by AS3 Sorcerer 6.12
// www.as3sorcerer.com

//LevelMgr

package 
{
    import com.gamezhero.api.as3.*;

    public class LevelMgr 
    {

        private var _SafeStr_191:Array = null;
        private var m_game:Main = null;
        private var _SafeStr_170:Number = 0;
        private var _SafeStr_171:Number = 0;
        private var m_currLevel:int = 0;
        private var _SafeStr_192:Number = 0;
        private var _SafeStr_193:Number = 0;

        public function LevelMgr(game:Main)
        {
            this.m_game = game;
            this._SafeStr_170 = GUI.MAX_X;
            this._SafeStr_171 = GUI.MAX_Y;
            this._SafeStr_192 = (this._SafeStr_170 / 2);
            this._SafeStr_193 = (this._SafeStr_171 / 2);
            this._SafeStr_191 = new Array(this.dynamic, this._SafeStr_172, this._SafeStr_173, this._SafeStr_174, this._SafeStr_175, this._SafeStr_176, this._SafeStr_177, this._SafeStr_178, this._SafeStr_179, this._SafeStr_180, this._SafeStr_181, this._SafeStr_182, this._SafeStr_183, this._SafeStr_184, this._SafeStr_185, this._SafeStr_186, this._SafeStr_187, this._SafeStr_188, this._SafeStr_189, this._SafeStr_190);
        }

        private function _SafeStr_181(lvl:Level):void
        {
            lvl.initFromCode("5,0,200,0,100,3,80,160,100,2,80,163,373,4,80,477,106,5,80,485,372,1,80,317,235,3508");
        }

        private function _SafeStr_182(lvl:Level):void
        {
            lvl.initFromCode("6,0,100,0,100,3,10,281,229,3,30,177,318,5,30,414,230,5,30,414,321,5,30,415,134,3,30,178,143,3644");
        }

        private function _SafeStr_183(lvl:Level):void
        {
            lvl.initFromCode("8,0,150,0,100,3,30,116,242,3,50,72,347,5,30,399,392,5,30,403,86,3,50,79,126,5,30,546,142,5,30,461,246,5,30,545,345,5119");
        }

        private function _SafeStr_179(lvl:Level):void
        {
            lvl.initFromCode("9,4,200,0,100,3,50,335,389,3,50,329,84,3,30,156,248,3,30,515,244,1,200,334,243,5,50,445,128,5,50,219,367,5,30,454,366,5,30,223,136,257,271,257,214,359,320,308,321,414,273,414,217,303,167,356,166,10698");
        }

        private function _SafeStr_185(lvl:Level):void
        {
            lvl.initFromCode("7,0,100,0,100,3,50,161,275,3,10,337,81,2,10,255,395,4,10,503,274,2,50,485,146,4,50,200,135,1,50,419,392,4514");
        }

        private function _SafeStr_186(lvl:Level):void
        {
            lvl.initFromCode("6,7,100,0,100,3,100,324,343,3,30,85,150,3,10,325,152,3,30,560,153,5,70,129,319,5,70,530,317,266,277,245,406,381,279,401,406,458,90,478,184,195,88,174,188,257,414,393,415,629,78,468,78,186,78,13,77,11534");
        }

        public function createLevel(id:uint):Level
        {
            var func:Function;
            var lvl:Level = new Level(this.m_game, String((id + 1)));
            this.m_currLevel = id;
            if (id < this._SafeStr_191.length)
            {
                func = this._SafeStr_191[id];
                (func(lvl));
            };
            return (lvl);
        }

        private function _SafeStr_188(lvl:Level):void
        {
            lvl.initFromCode("8,0,160,0,100,3,20,99,389,3,10,190,278,5,160,552,89,3,20,62,273,3,20,210,409,3,20,87,159,3,20,321,354,3,20,190,128,4374");
        }

        private function _SafeStr_172(lvl:Level):void
        {
            lvl.initFromCode("5,0,60,0,100,3,10,347,328,2,50,200,299,3,10,258,154,3,60,456,161,3,10,324,228,3074");
        }

        private function _SafeStr_184(lvl:Level):void
        {
            lvl.initFromCode("6,3,60,0,100,5,60,323,124,2,60,221,293,5,10,491,135,3,60,432,297,2,10,177,140,3,10,322,407,322,345,322,238,328,229,417,173,316,229,233,173,7086");
        }

        private function dynamic(lvl:Level):void
        {
            lvl.initFromCode("2,0,60,0,100,2,3,509,148,3,60,325,241,1453");
            GUI.showInGameStatus(GUI.TXT_GAME_HINT1.toLocaleUpperCase());
        }

        private function _SafeStr_175(lvl:Level):void
        {
            lvl.initFromCode("5,0,100,0,100,3,30,110,160,3,30,132,287,3,30,211,387,1,90,307,205,5,100,532,101,2932");
            GUI.showInGameStatus(GUI.TXT_GAME_HINT3.toLocaleUpperCase());
        }

        private function _SafeStr_180(lvl:Level):void
        {
            lvl.initFromCode("8,0,100,0,100,3,20,122,330,3,20,250,330,3,20,384,330,3,20,519,330,2,30,119,150,2,30,247,150,2,30,381,150,2,30,512,150,4882");
        }

        private function _SafeStr_177(lvl:Level):void
        {
            lvl.initFromCode("9,0,80,0,100,3,20,198,338,2,10,329,348,3,20,456,342,4,60,328,231,2,10,459,234,2,10,191,227,2,10,329,111,3,20,452,118,3,20,201,116,5401");
        }

        private function _SafeStr_178(lvl:Level):void
        {
            lvl.initFromCode("6,0,80,0,100,3,70,94,377,1,10,210,308,1,10,364,334,1,10,244,165,2,50,534,96,1,10,392,191,3664");
        }

        private function _SafeStr_176(lvl:Level):void
        {
            lvl.initFromCode("7,5,60,0,100,3,10,214,184,3,10,418,186,2,30,318,346,1,10,198,357,1,10,438,359,3,30,65,313,3,30,567,319,242,286,304,225,123,392,150,300,489,306,511,395,316,223,390,287,309,215,309,124,10496");
        }

        public function currLevel():int
        {
            return (this.m_currLevel);
        }

        private function _SafeStr_189(lvl:Level):void
        {
            lvl.initFromCode("13,0,80,0,100,3,10,69,235,2,50,565,89,2,50,566,381,1,30,209,338,1,30,369,246,1,30,341,391,1,30,434,122,1,30,459,330,1,30,236,198,1,30,284,67,1,30,556,233,1,30,131,107,1,30,86,386,8048");
        }

        private function _SafeStr_173(lvl:Level):void
        {
            lvl.initFromCode("6,3,100,0,100,3,50,90,331,2,20,315,315,1,30,128,165,1,30,299,107,1,30,464,161,1,30,473,319,341,205,264,218,253,427,210,305,210,296,256,221,6781");
            GUI.showInGameStatus(GUI.TXT_GAME_HINT2.toLocaleUpperCase());
        }

        private function _SafeStr_174(lvl:Level):void
        {
            lvl.initFromCode("7,0,100,0,100,2,100,473,242,3,60,281,245,3,30,255,398,3,30,144,359,3,30,96,245,3,30,139,141,3,30,244,93,3892");
        }

        private function _SafeStr_187(lvl:Level):void
        {
            lvl.initFromCode("20,0,50,0,100,3,20,71,397,3,20,202,288,3,20,312,395,3,20,444,293,3,20,565,395,5,30,76,289,5,30,197,394,5,30,324,287,5,30,440,398,5,30,562,287,3,20,73,179,3,20,194,78,3,20,319,180,3,20,444,77,3,20,559,184,5,30,567,74,5,30,443,186,5,30,317,75,5,30,197,184,5,30,67,83,11846");
        }

        private function _SafeStr_190(lvl:Level):void
        {
            lvl.initFromCode("8,0,100,0,50,3,40,313,124,3,40,90,249,4,10,539,293,3,40,186,383,3,40,239,232,5,60,419,374,5,60,488,151,5,60,146,99,4864");
        }


    }
}//package 

// _SafeStr_170 = "_-4G" (String#4853, DoABC#2)
// _SafeStr_171 = "_-6v" (String#4982, DoABC#2)
// _SafeStr_172 = "_-4q" (String#4880, DoABC#2)
// _SafeStr_173 = "_-1v" (String#4744, DoABC#2)
// _SafeStr_174 = "_-5m" (String#4925, DoABC#2)
// _SafeStr_175 = "_-67" (String#4942, DoABC#2)
// _SafeStr_176 = "_-Ar" (String#5175, DoABC#2)
// _SafeStr_177 = "_-7L" (String#5001, DoABC#2)
// _SafeStr_178 = "_-0c" (String#4681, DoABC#2)
// _SafeStr_179 = "_-6a" (String#4965, DoABC#2)
// _SafeStr_180 = "_-t" (String#5298, DoABC#2)
// _SafeStr_181 = "_-p" (String#5294, DoABC#2)
// _SafeStr_182 = "_-5G" (String#4900, DoABC#2)
// _SafeStr_183 = "_-44" (String#4843, DoABC#2)
// _SafeStr_184 = "_-7S" (String#5007, DoABC#2)
// _SafeStr_185 = "_-6q" (String#4978, DoABC#2)
// _SafeStr_186 = "_-B6" (String#5188, DoABC#2)
// _SafeStr_187 = "_-1M" (String#4717, DoABC#2)
// _SafeStr_188 = "_-0k" (String#4687, DoABC#2)
// _SafeStr_189 = "_-Cq" (String#5266, DoABC#2)
// _SafeStr_190 = "_-AK" (String#5148, DoABC#2)
// _SafeStr_191 = "_-9I" (String#5096, DoABC#2)
// _SafeStr_192 = "_-A4" (String#5133, DoABC#2)
// _SafeStr_193 = "_-8J" (String#5047, DoABC#2)


